package com.fary;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.IdcardUtil;
import com.fary.vo.MyBeanSerializerModifier;
import com.fary.vo.User;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;

import static org.springframework.aop.config.AopConfigUtils.AUTO_PROXY_CREATOR_BEAN_NAME;

@Slf4j
@SpringBootApplication
public class WebStarter {
    public static void main(String[] args) throws JsonProcessingException {
        SpringApplication springApplication = new SpringApplication(WebStarter.class);
        ConfigurableApplicationContext applicationContext = springApplication.run(args);
        Object bean = applicationContext.getBean(ObjectMapper.class);
        System.out.println();
    }

}
